package com.fa4j.system.account.convert;

import com.fa4j.common.base.convert.CommonConvertor;
import com.fa4j.common.base.convert.ConverterConfig;
import com.fa4j.common.base.model.ModifyCmd;
import com.fa4j.system.account.dto.AccountLogCreateRequest;
import com.fa4j.system.account.model.AccountLog;
import com.fa4j.system.account.model.AccountLogCreateCmd;
import org.mapstruct.Mapper;

@Mapper(config = ConverterConfig.class)
public interface AccountLogConverter extends CommonConvertor<AccountLog, AccountLogCreateCmd, ModifyCmd<Long>> {

    AccountLogCreateCmd toCreateCmd(AccountLogCreateRequest request);
}
